package com.flnet.spsys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.flnet.spsys.entity.BaseEntity;
import java.time.LocalDate;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 会员
 * </p>
 *
 * @author Qu Jingbin
 * @since 2021-03-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class TbVipMember extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String name;

//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDate birthday;

    private Integer vipGrade;

    private String sex;

    private String phone;

    private String state;
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDate start;
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDate end;

    private Integer vipType;


}
